//---------------------------------------------------------------------------

#ifndef dlgOptionsH
#define dlgOptionsH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "Options.h"
//---------------------------------------------------------------------------
class TfrmOptions : public TForm
{
__published:	// IDE-managed Components
    TGroupBox *gbConnect;
    TLabel *Label1;
    TEdit *edName;
    TLabel *Label2;
    TEdit *edHost;
    TLabel *Label3;
    TEdit *edAddress;
    TLabel *Label4;
    TEdit *edPort;
    TButton *btnOk;
    TButton *btnCancel;
    void __fastcall btnCancelClick(TObject *Sender);
    void __fastcall btnOkClick(TObject *Sender);
    void __fastcall edPortKeyPress(TObject *Sender, char &Key);
private:	// User declarations
    TOptions* Options;
public:		// User declarations
    __fastcall TfrmOptions(TComponent* Owner);

    bool __fastcall Execute(TOptions& Options);
};
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
#endif
